home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- //
- // Alias|Wavefront Script File
- // MODIFY THIS AT YOUR OWN RISK
- //
- // Creation Date: November 2000
- //
- //
- // Procedure Name:
- // artisanNamedCommandSetup
- //
- // Description:
- // Name commands for all artisan/jasper tools.
- //
- // Input Arguments:
- //
- // Return Value:
- // None.
- //
-
-
- // ========================================================================
- // Help procedures and functions.
- // ========================================================================
-
- proc string currentToolClass()
- //
- // Description:
- // Returns a name of the current tool.
- //
- {
- string $currentContext = `currentCtx`;
- return `contextInfo -c $currentContext`;
- }
-
- global proc int isArtisanCtx()
- //
- // Description:
- // Returns true if this is one of the new artisan tools.
- //
- {
- string $tc = currentToolClass();
- return $tc == "art3dPaint"
- || $tc == "artSelect"
- || $tc == "artAttr"
- || $tc == "artAttrSkin"
- || $tc == "artFluidAttr"
- || $tc == "artUserPaint"
- || $tc == "artAttrColorPerVertex";
- }
-
- global proc string artisanCommand()
- //
- // Description:
- // Returns current artisan conttext command.
- //
- {
- string $currentTool = currentToolClass();
- string $artisanCmd = "";
-
- if ( $currentTool == "art3dPaint" ) {
- $artisanCmd = "art3dPaintCtx";
- }
- else if ( $currentTool == "artSelect" ) {
- $artisanCmd = "artSelectCtx";
- }
- else if ( $currentTool == "artAttr" ) {
- $artisanCmd = "artAttrCtx";
- }
- else if ( $currentTool == "artAttrSkin" ) {
- $artisanCmd = "artAttrCtx";
- }
- else if ( $currentTool == "artFluidAttr" ) {
- $artisanCmd = "artFluidAttrCtx";
- }
- else if ( $currentTool == "artAttrColorPerVertex" ) {
- $artisanCmd = "artAttrPaintVertexCtx";
- }
- else if ( $currentTool == "artUserPaint" ) {
- $artisanCmd = "artUserPaintCtx";
- }
- return $artisanCmd;
- }
-
- proc int isArtColorFeedbackCtx()
- //
- // Description:
- // Returns true if this is attibute paint context.
- //
- {
- string $tc = currentToolClass();
- return ( ($tc == "artAttr") || ($tc == "artAttrSkin") );
- }
-
- // -------------------------------------------------------
- // Old Artisan Jasper tools suppor
- proc int isJasperPaintCtx()
- //
- // Description:
- // Returns true if this is one of the old artisan (jasper) tools.
- //
- {
- string $tc = currentToolClass();
- return $tc == "putty"
- || $tc == "selectPaint"
- || $tc == "userPaint"
- || $tc == "wtPaint"
- || $tc == "setEditPaint"
- || $tc == "attrPaint"
- || $tc == "paintColor"
- || attrPaintInstCheckTool($tc);
- }
-
- proc int isValuePaintCtx()
- //
- // Description:
- // Returns true if this is one of the old
- // artisan (jasper) value tools.
- //
- {
- string $tc = currentToolClass();
- return $tc == "userPaint"
- || $tc == "wtPaint"
- || $tc == "attrPaint"
- || attrPaintInstCheckTool( $tc );
- }
-
- proc string jasperCommand()
- {
- string $currentTool = currentToolClass();
- string $jasperCmd = "";
-
- if ( $currentTool == "putty" ) {
- $jasperCmd = "puttyCtx";
- }
- else if ( $currentTool == "selectPaint" ) {
- $jasperCmd = "selectPaintCtx";
- }
- else if ( $currentTool == "userPaint" ) {
- $jasperCmd = "userPaintCtx";
- }
- else if ( $currentTool == "attrPaint" ||
- attrPaintInstCheckTool($currentTool) )
- {
- $jasperCmd = "attrPaintCtx";
- }
- else if ( $currentTool == "wtPaint" ) {
- $jasperCmd = "wtPaintCtx";
- }
- else if ( $currentTool == "setEditPaint" ) {
- $jasperCmd = "setEditPaintCtx";
- }
- else if ( $currentTool == "paintColor" ) {
- $jasperCmd = "paintColorCtx";
- }
-
- return $jasperCmd;
- }
- // -------------------------------------------------------
-
-
- proc int isAdynPaintPanel()
- //
- // Description:
- // Returns true if this is Paint Effects context.
- //
- {
- string $currentPanel = `getPanel -withFocus`;
- return (`scriptedPanel -ex $currentPanel` &&
- `scriptedPanel -q -type $currentPanel` == "dynPaintScriptedPanelType");
- }
-
- proc int isDynWireContext()
- //
- // Description:
- // Returns true if this is Paint Effects context.
- //
- {
- string $cc = `currentCtx`;
- string $ct = `contextInfo -t $cc`;
-
- return ($ct == "Paint Effects");
- }
-
-
- proc dynPaintResize(string $sliderName)
- //
- // Description:
- //
- {
- if (isDynWireContext()) {
- dynWireCtx -e -dbs $sliderName `currentCtx`;
- }
- if (isAdynPaintPanel()) {
- global string $gDynPaintEditorName;
- dynPaintCtx -e -dbs $sliderName `dynPaintEditor -q -drc $gDynPaintEditorName`;
- }
- }
-
-
-
- global proc artisanToggleReflectionX(
- string $artCmd
- )
- //
- // Description:
- // Toggle reflection in X.
- //
- {
- if ( isArtisanCtx() ) {
- if ( $artCmd != "" ) {
- string $cmd0 = $artCmd + " -q -reflectX `currentCtx`";
- string $cmd1;
- if ( eval($cmd0) ) {
- $cmd1 = $artCmd + " -e -reflectX false " + `currentCtx`;
- } else {
- $cmd1 = $artCmd + " -e -reflectX true " + `currentCtx`;
- }
- eval( $cmd1 );
-
- // Update the UI in all artisan tools.
- if ( `checkBoxGrp -exists artReflectionChBox` ) {
- checkBoxGrp -e -v1 `eval $cmd0` artReflectionChBox;
- }
-
- // Update the UI in 3d Paint tool.
- if ( `checkBoxGrp -exists art3dReflectionChBox` ) {
- checkBoxGrp -e -v1 `eval $cmd0` art3dReflectionChBox;
- }
- }
- }
- }
-
- global proc artisanToggleReflectionY(
- string $artCmd
- )
- //
- // Description:
- // Toggle reflection in Y.
- //
- {
- if ( isArtisanCtx() ) {
- if ( $artCmd != "" ) {
- string $cmd0 = $artCmd + " -q -reflectY `currentCtx`";
- string $cmd1;
- if ( eval($cmd0) ) {
- $cmd1 = $artCmd + " -e -reflectY false " + `currentCtx`;
- } else {
- $cmd1 = $artCmd + " -e -reflectY true " + `currentCtx`;
- }
- eval( $cmd1 );
-
- // Update the UI in all artisan tools.
- if ( `checkBoxGrp -exists artReflectionChBox` ) {
- checkBoxGrp -e -v2 `eval $cmd0` artReflectionChBox;
- }
-
- // Update the UI in 3d Paint tool.
- if ( `checkBoxGrp -exists art3dReflectionChBox` ) {
- checkBoxGrp -e -v2 `eval $cmd0` art3dReflectionChBox;
- }
- }
- }
- }
-
- global proc artisanToggleReflectionZ(
- string $artCmd
- )
- //
- // Description:
- // Toggle reflection in Z.
- //
- {
- if ( isArtisanCtx() ) {
- if ( $artCmd != "" ) {
- string $cmd0 = $artCmd + " -q -reflectZ `currentCtx`";
- string $cmd1;
- if ( eval($cmd0) ) {
- $cmd1 = $artCmd + " -e -reflectZ false " + `currentCtx`;
- } else {
- $cmd1 = $artCmd + " -e -reflectZ true " + `currentCtx`;
- }
- eval( $cmd1 );
-
- // Update the UI in all artisan tools.
- if ( `checkBoxGrp -exists artReflectionChBox` ) {
- checkBoxGrp -e -v3 `eval $cmd0` artReflectionChBox;
- }
-
- // Update the UI in 3d Paint tool.
- if ( `checkBoxGrp -exists art3dReflectionChBox` ) {
- checkBoxGrp -e -v3 `eval $cmd0` art3dReflectionChBox;
- }
- }
- }
- }
-
-
- global proc artisanReflectionMenu(
- string $artCmd
- )
- //
- // Description:
- // Create the reflection menu for 'u/ hotkey.
- //
- {
- string $cmd = $artCmd + " -q -reflectX `currentCtx`";
- menuItem
- -label "Reflection X "
- -checkBox `eval($cmd)`
- -command ("artisanToggleReflectionX " + $artCmd );
-
- string $cmd = $artCmd + " -q -reflectY `currentCtx`";
- menuItem
- -checkBox `eval($cmd)`
- -label "Reflection Y "
- -command ("artisanToggleReflectionY " + $artCmd );
-
- string $cmd = $artCmd + " -q -reflectZ `currentCtx`";
- menuItem
- -checkBox `eval($cmd)`
- -label "Reflection Z "
- -command ("artisanToggleReflectionZ " + $artCmd );
- }
-
-
- proc artisanToolOperationMenu()
- //
- // Description:
- // Create a context sensitive popmenu with all paint
- // oparations for all artisan tools.
- //
- {
- string $tc = currentToolClass();
-
- // Get the proper artisan command for the tool.
- string $artCmd = artisanCommand();
-
- if ( $tc == "art3dPaint" ) {
- popupMenu -mm 1 -b 1 -p viewPanes artOperationPopupMenu;
- menuItem -rp "NW" -l "PFX Paint"
- -c ("art3dUpdatePaintOperation " + $artCmd + " \"effectsBrush\" \"Paint\"; ");
- menuItem -rp "S" -l "Blur"
- -c ("art3dUpdatePaintOperation " + $artCmd + " \"effectsBrush\" \"Blur\"; ");
- menuItem -rp "W" -l "Smear"
- -c ("art3dUpdatePaintOperation " + $artCmd + " \"effectsBrush\" \"Smear\"; ");
- menuItem -rp "N" -l "Artisan Paint"
- -c ("art3dUpdatePaintOperation " + $artCmd + " \"artisanBrush\" \"Paint\"; ");
- menuItem -rp "E" -l "Erase"
- -c ("art3dUpdatePaintOperation " + $artCmd + " \"artisanBrush\" \"Erase\"; ");
- menuItem -rp "NE" -l "Clone"
- -c ("art3dUpdatePaintOperation " + $artCmd + " \"artisanBrush\" \"Clone\"; ");
-
- // Generate the reflection menu.
- artisanReflectionMenu( $artCmd );
- }
- else if ( $tc == "artSelect" ) {
- string $artCmd = "artSelectCtx";
- popupMenu -mm 1 -b 1 -p viewPanes artOperationPopupMenu;
- menuItem -rp "N" -l "Toggle"
- -c ("artSelectCtx -e -sop \"toggle\" `currentCtx`; ");
- menuItem -rp "W" -l "Select"
- -c ("artSelectCtx -e -sop \"select\" `currentCtx`; ");
- menuItem -rp "E" -l "UnSelect"
- -c ("artSelectCtx -e -sop \"unselect\" `currentCtx`; ");
- menuItem -rp "S" -l "Select All"
- -c ("artSelectCtx -e -sal `currentCtx`; ");
- // Generate the reflection menu.
- artisanReflectionMenu( $artCmd );
- }
- else if (( $tc == "artAttr" )
- || ( $tc == "artFluidAttr" )
- || ( $tc == "artAttrSkin" ))
- {
- string $artCmd = "artAttrCtx";
- popupMenu -mm 1 -b 1 -p viewPanes artOperationPopupMenu;
- menuItem -rp "N" -l "Add"
- -c ("artAttrCtx -e -sao \"additive\" `currentCtx`;");
- menuItem -rp "S" -l "Scale"
- -c ("artAttrCtx -e -sao \"scale\" `currentCtx`; ");
- menuItem -rp "W" -l "Smooth"
- -c ("artAttrCtx -e -sao \"smooth\" `currentCtx`;");
- menuItem -rp "E" -l "Replace"
- -c ("artAttrCtx -e -sao \"absolute\" `currentCtx`;");
-
- // Generate the reflection menu.
- artisanReflectionMenu( $artCmd );
- }
- else
- return;
-
- setParent ..;
- }
-
- // ========================================================================
- // End of help procedures.
- // ========================================================================
- proc int pfxPanelIsActive()
- //
- // Description:
- // Determine if the mouse is over the paint effects panel
- // so we can decide which brush resize method to use.
- //
- {
- string $panelName = `getPanel -wf`;
-
- // For now we can test the panel name, as we only
- // have one paint effects panel. We could test
- // for a scriptedPanel(below), but if someone develops an
- // artisan scripted panel then this would not be sufficient.
- // string $panelType = `getPanel -to $panelName`;
- // if( $panelType == "scriptedPanel" )
-
- if( $panelName == "dynPaintScriptedPanel" ){
- return( 1 );
- } else {
- return( 0 );
- }
- }
-
- global proc artActivateScreenSlider(
- string $sliderName
- )
- //
- // Description:
- // Global procs for activating screen sliders
- // - sets the flag to activate them.
- //
- {
- int $pfxFocus = pfxPanelIsActive();
- // New Artisan Tools.
- if ( isArtisanCtx() && !$pfxFocus ) {
- string $artisanCmd = artisanCommand();
- if( $sliderName == "upper_radius" ) {
- artBaseCtx -e -dragSlider "radius" `currentCtx`;
- } else if( $sliderName == "lower_radius" ) {
- artBaseCtx -e -dragSlider "lowradius" `currentCtx`;
- } else if( $sliderName == "opacity" ) {
- artBaseCtx -e -dragSlider "opacity" `currentCtx`;
- } else if( $sliderName == "value" ) {
- artBaseCtx -e -dragSlider "value" `currentCtx`;
- } else if( $sliderName == "stamp_depth" ) {
- artBaseCtx -e -dragSlider "depth" `currentCtx`;
- }
- }
- // Jasper tools - old artisan tools.
- else if ( isJasperPaintCtx() && !$pfxFocus) {
- commonPaintCtx -e -slider $sliderName `currentCtx`;
- }
- // Paint Effects.
- else if (`isTrue "MayaCreatorExists"`)
- {
- if( $sliderName == "displacement" ) {
- dynPaintResize("offset");
- } else if( $sliderName == "lower_radius" ) {
- dynPaintResize("width");
- } else {
- dynPaintResize("size");
- }
- }
- }
-
-
- global proc artDeactivateScreenSlider()
- //
- // Description:
- // Global procs for deactivating screen sliders - sets the flag to
- // deactivate them.
- //
- {
- int $pfxFocus = pfxPanelIsActive();
- // New Artisan Tools.
- if ( isArtisanCtx() && !$pfxFocus) {
- artBaseCtx -e -dragSlider "none" `currentCtx`;
- }
- // Jasper tools - old artisan tools.
- else if ( isJasperPaintCtx() && !$pfxFocus ) {
- commonPaintCtx -e -slider "none" `currentCtx`;
- }
- // Paint Effects.
- else if (`isTrue "MayaCreatorExists"`)
- {
- dynPaintResize("none");
- }
- }
-
-
- global proc artPaintOperationMenu()
- //
- // Description:
- // Display a popup menu with all artisan paint operations.
- //
- // NOTE: This is tool sensitive.
- //
- {
- artDeletePopMenu();
-
- // New Artisan Tools.
- if ( isArtisanCtx() ) {
- artisanToolOperationMenu();
- }
- // Jasper tools - old artisan tools.
- else if ( isJasperPaintCtx() ) {
- // Call the old stuff.
- jasperBrushMode();
- }
- }
-
-
- global proc artDeletePopMenu()
- //
- // Description:
- //
- //
- {
- if ( isArtisanCtx() ) {
- if (`popupMenu -exists artOperationPopupMenu`) {
- deleteUI artOperationPopupMenu;
- }
-
- }
- // Jasper tools - old artisan tools.
- else if ( isJasperPaintCtx() ) {
- deletePopupMenu();
- }
- }
-
-
- global proc artFloodSurfaces()
- //
- // Description:
- // Command to flood the surfaces with current values.
- //
- {
- if ( isArtisanCtx() ) {
- string $artisanCmd = artisanCommand();
- if ( $artisanCmd != "" ) {
- eval( $artisanCmd + " -e -clear `currentCtx`" );
- }
- }
- // Old Artisan (Jasper) tools.
- else if ( isJasperPaintCtx() ) {
- string $jasperCmd = jasperCommand();
- if ( $jasperCmd != "" ) {
- eval( $jasperCmd + " -e -clear `currentCtx`" );
- }
- }
- }
-
-
- global proc artToggleWireframeDisplay()
- //
- // Description:
- // Toggle display of the wireframe - change the value into
- // the opposite one.
- //
- {
- if ( isArtisanCtx() ) {
- string $artisanCmd = artisanCommand();
- if ( $artisanCmd != "" ) {
- string $cmd0 = $artisanCmd + " -q -showactive `currentCtx`";
- string $cmd1;
- if ( eval($cmd0) ) {
- $cmd1 = $artisanCmd + " -e -showactive false " + `currentCtx`;
- } else {
- $cmd1 = $artisanCmd + " -e -showactive true " + `currentCtx`;
- }
- eval( $cmd1 );
-
- // Update the UI in all artisan tools.
- if ( `checkBoxGrp -exists artShowActiveLinesChkBox`) {
- checkBoxGrp -e -v1 `eval($cmd0)` artShowActiveLinesChkBox;
- }
-
- // Update the UI in 3d Paint tool.
- if ( `checkBoxGrp -exists art3dShowActiveLinesChkBox`) {
- checkBoxGrp -e -v1 `eval($cmd0)` art3dShowActiveLinesChkBox;
- }
- }
- }
- // Old Artisan (Jasper) tools.
- else if ( isJasperPaintCtx() ) {
- string $cmd = "commonPaintCtx -q -showactive `currentCtx`";
- if ( eval($cmd) ) {
- commonPaintCtx -e -showactive false `currentCtx`;
- } else {
- commonPaintCtx -e -showactive true `currentCtx`;
- }
- }
- }
-
-
- global proc artToggleColorFeedback()
- //
- // Description:
- // Toggle the color feedback display - change the value into the opposite.
- //
- {
- if ( isArtColorFeedbackCtx() ) {
- string $artisanCmd = artisanCommand();
- if ( $artisanCmd != "" ) {
- string $cmd0 = $artisanCmd + " -q -colorfeedback `currentCtx`";
- string $cmd1;
- if ( `eval($cmd0)` ) {
- $cmd1 = $artisanCmd + " -e -colorfeedback false " + `currentCtx`;
- } else {
- $cmd1 = $artisanCmd + " -e -colorfeedback true " + `currentCtx`;
- }
- eval($cmd1);
-
- // Update the UI in artisan tools.
- if ( `checkBoxGrp -exists artColorFeedbackChkBox`) {
- checkBoxGrp -e -v1 `eval($cmd0)` artColorFeedbackChkBox;
- }
- }
- }
- // Old Artisan (Jasper) tools.
- else if ( isJasperPaintCtx() ) {
- if ( !isValuePaintCtx() ) {
- return;
- }
-
- string $cmd = "valuePaintCtx -q -colorfeedback `currentCtx`";
- if ( eval($cmd) ) {
- eval( "valuePaintCtx -e -colorfeedback false `currentCtx`");
- } else {
- eval( "valuePaintCtx -e -colorfeedback true `currentCtx`");
- }
- }
- }
-
-
- global proc artActivatePickColorMode()
- //
- // Description:
- // Activate pick color mode.
- //
- {
- if ( isArtisanCtx() ) {
- $cmd = artisanCommand() + " -e -pickColor true " + `currentCtx`;
- eval($cmd);
- }
- // Old Artisan (Jasper) tools.
- else if ( isJasperPaintCtx() ) {
- commonPaintCtx -e -brushoperate "pickcolor" `currentCtx`;
- }
- }
-
-
- global proc artDeactivatePickColorMode()
- //
- // Description:
- // Deactivate pick color mode.
- //
- {
- if ( isArtisanCtx() ) {
- $cmd = artisanCommand() + " -e -pickColor false " + `currentCtx`;
- eval($cmd);
- }
- // Old Artisan (Jasper) tools.
- else if ( isJasperPaintCtx() ) {
- commonPaintCtx -e -brushoperate "paint" `currentCtx`;
- }
- }
-
- // ========================================================================
- // MAIN procedure - artisanNamedCommandSetup()
- // ========================================================================
-
- global proc artisanNamedCommandSetup( )
- {
- assignCommand -e -addDivider "Maya Artisan Tools";
-
- // Global named commands for Artisan tools.
- nameCommand -annotation "Maya Artisan Operation, with Marking Menu (Press)"
- -command ("PaintOperationMarkingMenuPress")
- artisanPaintOperation_Tool;
-
- nameCommand -annotation "Maya Artisan Operation, with Marking Menu (Release)"
- -command ("PaintOperationMarkingMenuRelease")
- artisanPaintOperation_Tool_revert;
-
- nameCommand -annotation "Flood with the current value"
- -command ("FloodSurfaces")
- artisanToggleFlood_press;
-
- nameCommand -annotation "Toggle Wireframe ON/OFF"
- -command ("ToggleWireframeInArtisan")
- artisanToggleWireframe_press;
-
- nameCommand -annotation "Activate Pick Color Mode (Press)"
- -command ("PickColorActivate")
- artisanPickColorMode_press;
-
- nameCommand -annotation "Deactivate Pick Color Mode (Release)"
- -command ("PickColorDeactivate")
- artisanPickColorMode_release;
-
-
- // Global named commands for activating/deactivating screen sliders.
- nameCommand
- -ann "Activate Modify Lower Brush Radius (Press)/Modify Paint Effects Brush Size"
- -command ("ModifyLowerRadiusPress")
- artisanModifyLowerRadius_press;
-
- nameCommand
- -ann "Deactivate Modify Lower Brush Radius (Release)"
- -command ("ModifyLowerRadiusRelease")
- artisanModifyLowerRadius_release;
-
- nameCommand
- -ann "Activate Modify Upper Brush Radius (Press)/Modify Paint Effect Brush Scale"
- -command ("ModifyUpperRadiusPress")
- artisanModifyUpperRadius_press;
-
- nameCommand
- -ann "Deactivate Modify Upper Brush Radius (Release)"
- -command ("ModifyUpperRadiusRelease")
- artisanModifyUpperRadius_release;
-
- nameCommand
- -ann "Activate Modify Opacity (Press)"
- -command ("ModifyOpacityPress")
- artisanModifyOpacity_press;
-
- nameCommand
- -ann "Deactivate Modify Opacity (Release)"
- -command ("ModifyOpacityRelease")
- artisanModifyOpacity_release;
-
- nameCommand
- -ann "Activate Modify Value (Press)"
- -command ("ModifyPaintValuePress")
- artisanModifyValue_press;
-
- nameCommand -annotation "Deactivate Modify Value (Release)"
- -command ("ModifyPaintValueRelease")
- artisanModifyValue_release;
-
- nameCommand
- -ann "Activate Modify Stamp Depth (Press)"
- -command ("ModifyStampDepthPress")
- artisanModifyStampDepth_press;
-
- nameCommand -annotation "Deactivate Modify Stamp Depth (Release)"
- -command ("ModifyStampDepthRelease")
- artisanModifyStampDepth_release;
-
-
- // Tool specific named commands.
- nameCommand -annotation "Toggle Color Feedback ON/OFF"
- -command ("ToggleColorFeedback")
- artisanColorFeedback_press;
-
- // PolyBrush named commands
- nameCommand
- -annotation ("Poly Brush Operation, with Marking Menu")
- -command ("PolyBrushMarkingMenu")
- PolyBrushMarkingMenuNameCommand;
-
- nameCommand
- -annotation ("Poly Brush Operation, with Marking Menu Pop Down")
- -command ("PolyBrushMarkingMenuPopDown")
- PolyBrushMarkingMenuPopDownNameCommand;
-
- }
-